package com.etlmaster.executor.bigdata.hbase;

/**
 * @author Larry
 * @description 定义配置文件路径
 * @copyright Larry@etlMaster
 * @since 2017-09-10
 */
public class Environment {
	public static final String USER_DIR = System.getProperty("user.dir");
	
	public static final String ENGINE_CONF = String.format("%s/conf/datax/engine.xml", USER_DIR);
	public static final String PLUGINS_CONF = String.format("%s/conf/datax/plugins.xml", USER_DIR);
	public static final String LOG4J_CONF = String.format("%s/conf/datax/log4j.properties", USER_DIR);
	public static final String JOB_INFO_DB_PROP = String.format("%s/conf/datax/jobInfoDB.properties", USER_DIR);
	public static final String READER_PLUGINS_DIR = String.format("%s/plugins/reader", USER_DIR);
	public static final String WRITER_PLUGINS_DIR = String.format("%s/plugins/writer", USER_DIR);
	public static final String CORE_SITE = String.format("%s/conf/datax/core-site.xml", USER_DIR);
	public static final String HDFS_SITE = String.format("%s/conf/datax/hdfs-site.xml", USER_DIR);

	public static final String HBSE_SITE = String.format("%s/conf/datax/hbase-site.xml", USER_DIR);
	public static final String YARN_SITE = String.format("%s/conf/datax/yarn-site.xml", USER_DIR);
}
